package huashu.net.Investment.web;

import com.sirdc.modules.core.web.JsonBaseController;
import com.sirdc.modules.core.web.model.JqGrid;
import com.sirdc.modules.sys.service.RedisService;
import com.sirdc.modules.sys.util.SysUserUtils;
import com.sirdc.modules.utils.StringUtils;
import huashu.net.Investment.filter.SummaryFilter;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping("/modules/sys/indication")
public class IndicationCtrl extends JsonBaseController {



    @Override
    protected String getView(String s) {
        return "/modules/sys/indication/"+s;
    }
    //载入页面
    @RequestMapping(method= RequestMethod.GET)
    public String initPage(Model model)
    {


        return getView("query");
    }

    //初始化数据
    @ResponseBody
    @RequestMapping(method=RequestMethod.POST)
    public JqGrid query (@ModelAttribute SummaryFilter filter )
    {


        ///List<AuditEvent> list = auditservice.getAuditInfo(filter);
        return coverJqGrid(filter, null);
    }

}
